/*
 * #%L
 * SwiftUICommonUtilities
 * $Id:$
 * $HeadURL:$
 * %%
 * Copyright (C) 2011 - 2012 Linkwithweb
 * %%
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as
 * published by the Free Software Foundation, either version 3 of the 
 * License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public 
 * License along with this program.  If not, see
 * <http://www.gnu.org/licenses/gpl-3.0.html>.
 * #L%
 */
/**
 * 
 */
package com.linkwithweb.products.swiftui.dataobject;

/**
 * 
 * DROP TABLE IF EXISTS `automata`.`FRM_WORKFLOW`;
 * CREATE TABLE `automata`.`FRM_WORKFLOW` (
 * `UNIQUE_KEY` INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
 * `WORKFLOW_ID` VARCHAR(45) NOT NULL,
 * `WORKFLOW_DESC` VARCHAR(100) NOT NULL,
 * `ROLE_APPROVAL_SEQUENCE` VARCHAR(200) NOT NULL COMMENT
 * '[Manager,Lead][Approver]',
 * `IS_ACTIVE` BOOLEAN NOT NULL,
 * `IDENTIFIER` VARCHAR(45) NOT NULL,
 * `IDENTIFIER_ROLE` VARCHAR(45) NOT NULL,
 * `CREATED_BY` INTEGER UNSIGNED NOT NULL,
 * `CREATED_DATE` DATETIME NOT NULL,
 * `MODIFIED_BY` INTEGER UNSIGNED NOT NULL,
 * `MODIFIED_DATE` DATETIME NOT NULL,
 * PRIMARY KEY (`UNIQUE_KEY`)
 * )
 * ENGINE = InnoDB;
 * 
 * @author ashwin kumar
 * 
 */
public class FrameworkWorkflow extends BaseDataObject {
	private long uniqueKey = -1;
	private String workflowId = "";
	private String workflowDescription = "";
	private String roleApprovalSequence = "";
	
	public interface ApprovalStatus{
		String PENDING_APPROVAL = "PENDING";
		String APPROVED = "APPROVED";
		String REJECTED = "REJECTED";
	}

	/**
	 * @return the uniqueKey
	 */
	public long getUniqueKey() {
		return uniqueKey;
	}

	/**
	 * @param uniqueKey
	 *            the uniqueKey to set
	 */
	public void setUniqueKey(long uniqueKey) {
		this.uniqueKey = uniqueKey;
	}

	/**
	 * @return the workflowId
	 */
	public String getWorkflowId() {
		return workflowId;
	}

	/**
	 * @param workflowId
	 *            the workflowId to set
	 */
	public void setWorkflowId(String workflowId) {
		this.workflowId = workflowId;
	}

	/**
	 * @return the workflowDescription
	 */
	public String getWorkflowDescription() {
		return workflowDescription;
	}

	/**
	 * @param workflowDescription
	 *            the workflowDescription to set
	 */
	public void setWorkflowDescription(String workflowDescription) {
		this.workflowDescription = workflowDescription;
	}

	/**
	 * @return the roleApprovalSequence
	 */
	public String getRoleApprovalSequence() {
		return roleApprovalSequence;
	}

	/**
	 * @param roleApprovalSequence
	 *            the roleApprovalSequence to set
	 */
	public void setRoleApprovalSequence(String roleApprovalSequence) {
		this.roleApprovalSequence = roleApprovalSequence;
	}

}
